package com.zzyl.nursing.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.time.LocalDateTime;
import java.util.List;

/**
 * TODO
 *
 * @Author katana
 * @Date 2025/5/30 17:42
 */
@Data
@ApiModel(value = "护理任务VO")
public class NursingTaskVo {

    @ApiModelProperty(value = "主键ID")
    private Long id;

    @ApiModelProperty(value = "床位编号")
    private String bedNumber;


    @ApiModelProperty(value = "取消原因")
    private String cancelReason;


    @ApiModelProperty(value = "老人id")
    private Long elderId;

    @ApiModelProperty(value = "老人姓名")
    private String elderName;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "预计服务时间")
    private LocalDateTime estimatedServerTime;


    @ApiModelProperty(value = "执行记录")
    private String mark;

    @ApiModelProperty(value = "护理员id")
    private String nursingId;


    @ApiModelProperty(value = "项目id")
    private Long projectId;

    @ApiModelProperty(value = "护理项目名称")
    private String projectName;


    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "实际服务时间")
    private LocalDateTime realServerTime;

    @ApiModelProperty(value = "状态: 1待执行 2已执行 3已关闭")
    private Integer status;

    @ApiModelProperty(value = "图片路径")
    private String taskImage;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "创建时间")
    private LocalDateTime createTime;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "更新时间")
    private LocalDateTime updateTime;

    @ApiModelProperty(value = "创建人")
    private String createBy;

    @ApiModelProperty(value = "更新人")
    private String updateBy;


    @ApiModelProperty(value = "护理人员姓名")
    private List<String> nursingName;

    @ApiModelProperty(value = "护理等级名称")
    private String nursingLevelName;

    @ApiModelProperty(value = "老人年龄")
    private Integer age;

    @ApiModelProperty(value = "处理人姓名")
    private String updater;
}
